﻿<%@ Page Language="C#" MasterPageFile="~/System/MasterPage2.master" AutoEventWireup="true"
    CodeFile="PriceDEC.aspx.cs" Inherits="Agency_PriceDEC" Title="Untitled Page" %>

<%@ Register Src="../System/DbPageFlip.ascx" TagName="DbPageFlip" TagPrefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Agency" runat="Server">
    <table width="98%">
        <tr>
            <td colspan="5" align="center" style="font-size: 25pt; font-family: 黑体">
                投标人解密清单</td>
        </tr>
        <tr>
            <td colspan="5" align="center" style="font-size: 25pt; font-family: 黑体">
                <asp:Label ID="labJM" runat="server" Text=""></asp:Label></td>
        </tr>
        <tr>
            <td style="width: 179px" >
                已解密：<asp:Label ID="TextBox1" runat="server" BorderStyle="None" Font-Bold="True"
                    ForeColor="Blue" Width="84px"></asp:Label></td>
            <td  >
                &nbsp;未解密：<asp:Label ID="TextBox2" runat="server" BorderStyle="None" Font-Bold="True"
                    ForeColor="#8080FF" Width="178px"></asp:Label></td>
                    <td  align="right" style="width: 161px">
                </td>
                    <td></td>
                   
        </tr>
        <tr>
            <td style="width: 179px"> 
                <asp:Button ID="Button1" runat="server" Text="开启解密开关" CssClass="button_bg6" OnClick="Button1_Click"
                    Width="92px" /></td>
            <td>
                <asp:Button ID="Button2" runat="server" Text="关闭解密开关" CssClass="button_bg6" OnClick="Button2_Click"
                    Width="92px" /></td>
            <td colspan="2">
                <asp:Button ID="Bntdel" runat="server" Text="未解密废标" CssClass="button_bg6" OnClick="Bntdel_Click" Visible="False" OnClientClick="javascript:return confirm('是否确定将未解密的企业废标！')" Width="92px"/></td>
        </tr>
        </table>
        <table  width="98%">
        <tr>
        <td align="right">
            企业名称：</td>
            <td align="left">
                <asp:TextBox ID="txtCompanyName" runat="server" onblur="javascript:if(/[']+/.test(this.value)){alert('企业注册号含有非法字符！');this.value='';return false;}" Width="219px"></asp:TextBox></td>
            <td  align="right">
                企业注册号：</td>
            <td >
                <asp:TextBox ID="txtUserCode" runat="server" onblur="javascript:if(/[']+/.test(this.value)){alert('企业注册号含有非法字符！');this.value='';return false;}" Width="219px"></asp:TextBox></td>
        </tr>
            <tr>
                <td align="right">
                解密状态：</td>
                <td align="left">
                <asp:DropDownList ID="DDLBidSuccess" runat="server" Width="219px">
                    <asp:ListItem Value="全部" Selected="True">全部企业</asp:ListItem>
                    <asp:ListItem Value="已解密成功">已解密成功</asp:ListItem>
                    <asp:ListItem Value="未解密">未解密</asp:ListItem>
                </asp:DropDownList></td>
                <td align="right">
                </td>
                <td>
                <asp:Button ID="BtnSel" runat="server" Text="查 询" CssClass="button_bg6" Width="90px" /></td>
            </tr>
    </table>
                <uc2:DbPageFlip ID="DbPageFlip1" runat="server" />
                <asp:GridView ID="GridView1" runat="server" Width="98%" AutoGenerateColumns="False"
                    OnRowCreated="GridView1_RowCreated" OnRowDataBound="GridView1_RowDataBound" BackColor="White"
                    BorderColor="#3366CC" BorderStyle="None" BorderWidth="1px" CellPadding="4" CssClass='table_table'
                    HeaderStyle-CssClass='table_title'>
                    <Columns>
                        <asp:BoundField DataField="companyname" HeaderText="投标人" />
                        <asp:BoundField DataField="usercode" HeaderText="注册号" />
                        <asp:TemplateField HeaderText="解密状态"></asp:TemplateField>
                        <asp:BoundField DataField="BidSuccess" HeaderText="BS" />
                        <asp:BoundField DataField="accountid" HeaderText="投标人ID" />
                        <asp:TemplateField HeaderText="打印"></asp:TemplateField>
                        <asp:BoundField DataField="memo4" HeaderText="memo4" />
                        
                    </Columns>
                    <FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
                    <RowStyle BackColor="White" ForeColor="#003399" />
                    <SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
                    <PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" />
                    <HeaderStyle BackColor="#003399" Font-Bold="True" ForeColor="#CCCCFF" />
                </asp:GridView>
</asp:Content>
